package objecttest;

public class Test {
	public static void main ( String[] args ) throws Exception {
		张腾 zt = new 张腾();
		
		for (int i = 0; i < 1000; i++) {
			zt.setXjj( new XiaoJiJi() );
			cutXiaoJiJi(zt);
		}
		
		System.out.println("张腾的小鸡鸡:" + zt.获取小鸡鸡());
	}

	private static void cutXiaoJiJi ( 张腾 zt ) {
		zt.setXjj( null );
	}
}
